#ifndef MENU_H
#define MENU_H

#include <QWidget>
#include"public.h"
#include<QNetworkAccessManager>
#include<QNetworkReply>
#include<QNetworkRequest>
namespace Ui {
class menu;
}

class menu : public QWidget
{
    Q_OBJECT

public:
    explicit menu(QWidget *parent = nullptr);
    void init(mymenu &menu);
    ~menu();

private slots:
    void getshopinftoimg(QNetworkReply *reply);
    void on_xiugai_clicked();


private:
    Ui::menu *ui;
    mymenu menus;

    QNetworkAccessManager* network_shopinfimg; //获取店铺图片
    QNetworkRequest* network_shopinfimgreq;

    QByteArray img;

};

#endif // MENU_H
